package cn.cxj.user.mapper;

import cn.cxj.basic.mapper.BaseMapper;
import cn.cxj.user.domain.User;

/**
 * 用户模块Mapper
 * @author 陈鑫杰
 * @date 2022-2-5 16:20:40
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据手机号查询
     * @return
     * @param phone
     */
    User loadByPhone(String phone);

    User loadByEmail(String email);

    void updateStateById(Long id);

    User loadByLogininfoId(Long id);
}
